<div>
<h1>Effacer Categories</h1>

<?php //echo $html->link('Add Post',array('controller' => 'posts', 'action' => 'add'))?>
<table border='0'>
	<tr>


		<th>Id</th>
		<th>Détails</th>
		
	</tr>



	<?php foreach ($categories as $categories): ?>
	<tr>




		<td><?php echo $html->link($categories['Category']['id'], "/categories/effacer_categorie_final/".$categories['Category']['id'])."  "."(Effacer)"; ?></td>
		<td><?php echo $categories['Category']['nom']; ?></td>
		

	</tr>

	<?php endforeach; ?>

</table>
</div>